//
//  LoadingView.h
//  FreeMessage
//
//  Created by Fox Guo on 12-8-28.
//  Copyright (c) 2012年 Fox. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol HintPopupDelegate <NSObject>
- (void)hintDidHidden;
@end
@interface HOLoadingView : UIView
{
    UIActivityIndicatorView *activityView;
    
    UIView *loadingView;
    
    UILabel *loadingLabel;
    UITextView *hintLabel;
    NSTimer *timeoutTimer;
}
@property(nonatomic, assign)id<HintPopupDelegate>hintPopupDelegate;
@property(nonatomic, assign)BOOL isHintPopup;
- (id)initForHint;
- (id)initWithSizeForHint:(int)size;
- (void)show:(UIView *)atView content:(NSString *)content displayTime:(NSTimeInterval)time;
- (void)show:(UIView *)atView;
- (void)hide;
- (CGFloat)getHintHeight;
- (void)stopTimer:(NSTimer *)timer;
- (void)setText:(NSString *)text;
@end
